namespace QMVnSoft.ReportForms
{
    using QMVnSoft;
    using QMVnSoft.Controls;
    using QMVnSoft.DAL;
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;

    public class FormKCD04Viewer : FormReportViewer
    {
        private IContainer components;
        private LabelControl lblMa_Sp;
        private LabelControl lblMa_Sp_Me;
        private LabelControl lblNgay_Ct1;
        private LabelControl lblNgay_Ct2;
        private LabelControl lblTk_154;
        private LabelControl lblTk_621;
        private LabelControl lblTk_622;
        private LabelControl lblTk_623;
        private LabelControl lblTk_627;
        private TextSearch txtMa_Sp;
        private TextSearch txtMa_Sp_Me;
        private TextDate txtNgay_Ct1;
        private TextDate txtNgay_Ct2;
        private TextControl txtTen_Sp;
        private TextControl txtTen_Sp_Me;
        private TextSearch txtTk_154;
        private TextSearch txtTk_621;
        private TextSearch txtTk_622;
        private TextSearch txtTk_623;
        private TextSearch txtTk_627;

        public FormKCD04Viewer()
        {
            this.InitializeComponent();
            this.txtNgay_Ct1.Value = AppInstance.StartWorkingDate;
            this.txtNgay_Ct2.Value = AppInstance.EndWorkingDate;
            this.txtTk_154.Value = "154";
            this.txtTk_621.Value = "621";
            this.txtTk_622.Value = "622";
            this.txtTk_623.Value = "623";
            this.txtTk_627.Value = "627";
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormKCD04Viewer));
            this.txtTen_Sp = new QMVnSoft.Controls.TextControl();
            this.txtMa_Sp = new QMVnSoft.Controls.TextSearch();
            this.lblMa_Sp = new QMVnSoft.Controls.LabelControl();
            this.txtTen_Sp_Me = new QMVnSoft.Controls.TextControl();
            this.txtMa_Sp_Me = new QMVnSoft.Controls.TextSearch();
            this.lblMa_Sp_Me = new QMVnSoft.Controls.LabelControl();
            this.txtNgay_Ct2 = new QMVnSoft.Controls.TextDate();
            this.lblNgay_Ct2 = new QMVnSoft.Controls.LabelControl();
            this.txtNgay_Ct1 = new QMVnSoft.Controls.TextDate();
            this.lblNgay_Ct1 = new QMVnSoft.Controls.LabelControl();
            this.txtTk_154 = new QMVnSoft.Controls.TextSearch();
            this.lblTk_154 = new QMVnSoft.Controls.LabelControl();
            this.txtTk_627 = new QMVnSoft.Controls.TextSearch();
            this.lblTk_627 = new QMVnSoft.Controls.LabelControl();
            this.txtTk_623 = new QMVnSoft.Controls.TextSearch();
            this.lblTk_623 = new QMVnSoft.Controls.LabelControl();
            this.txtTk_622 = new QMVnSoft.Controls.TextSearch();
            this.lblTk_622 = new QMVnSoft.Controls.LabelControl();
            this.txtTk_621 = new QMVnSoft.Controls.TextSearch();
            this.lblTk_621 = new QMVnSoft.Controls.LabelControl();
            this.rptContainer.Panel1.SuspendLayout();
            this.rptContainer.SuspendLayout();
            this.SuspendLayout();
            // 
            // rptContainer
            // 
            // 
            // rptContainer.Panel1
            // 
            this.rptContainer.Panel1.Controls.Add(this.txtTk_154);
            this.rptContainer.Panel1.Controls.Add(this.lblTk_154);
            this.rptContainer.Panel1.Controls.Add(this.txtTk_627);
            this.rptContainer.Panel1.Controls.Add(this.lblTk_627);
            this.rptContainer.Panel1.Controls.Add(this.txtTk_623);
            this.rptContainer.Panel1.Controls.Add(this.lblTk_623);
            this.rptContainer.Panel1.Controls.Add(this.txtTk_622);
            this.rptContainer.Panel1.Controls.Add(this.lblTk_622);
            this.rptContainer.Panel1.Controls.Add(this.txtTk_621);
            this.rptContainer.Panel1.Controls.Add(this.lblTk_621);
            this.rptContainer.Panel1.Controls.Add(this.txtNgay_Ct2);
            this.rptContainer.Panel1.Controls.Add(this.lblNgay_Ct2);
            this.rptContainer.Panel1.Controls.Add(this.txtNgay_Ct1);
            this.rptContainer.Panel1.Controls.Add(this.lblNgay_Ct1);
            this.rptContainer.Panel1.Controls.Add(this.txtTen_Sp_Me);
            this.rptContainer.Panel1.Controls.Add(this.txtMa_Sp_Me);
            this.rptContainer.Panel1.Controls.Add(this.lblMa_Sp_Me);
            this.rptContainer.Panel1.Controls.Add(this.txtTen_Sp);
            this.rptContainer.Panel1.Controls.Add(this.txtMa_Sp);
            this.rptContainer.Panel1.Controls.Add(this.lblMa_Sp);
            this.rptContainer.Size = new System.Drawing.Size(794, 507);
            this.rptContainer.SplitterDistance = 109;
            // 
            // txtTen_Sp
            // 
            this.txtTen_Sp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtTen_Sp.BackColor = System.Drawing.SystemColors.Control;
            this.txtTen_Sp.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtTen_Sp.CheckTextSearched = false;
            this.txtTen_Sp.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtTen_Sp.Enabled = false;
            this.txtTen_Sp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTen_Sp.ForeColor = System.Drawing.Color.Blue;
            this.txtTen_Sp.Location = new System.Drawing.Point(214, 28);
            this.txtTen_Sp.Name = "txtTen_Sp";
            this.txtTen_Sp.OldValue = null;
            this.txtTen_Sp.Size = new System.Drawing.Size(458, 13);
            this.txtTen_Sp.TabIndex = 90;
            this.txtTen_Sp.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtTen_Sp.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtTen_Sp.Value = ((object)(resources.GetObject("txtTen_Sp.Value")));
            // 
            // txtMa_Sp
            // 
            this.txtMa_Sp.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMa_Sp.CheckTextSearched = false;
            this.txtMa_Sp.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtMa_Sp.EmptyIsValid = true;
            this.txtMa_Sp.FieldDisplay = "Ten_Sp";
            this.txtMa_Sp.FirstFilter = "Loai_Sp = \'C\'";
            this.txtMa_Sp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtMa_Sp.FoundIsValid = true;
            this.txtMa_Sp.Location = new System.Drawing.Point(108, 24);
            this.txtMa_Sp.MaxLength = 32;
            this.txtMa_Sp.Name = "txtMa_Sp";
            this.txtMa_Sp.OldValue = null;
            this.txtMa_Sp.Size = new System.Drawing.Size(100, 20);
            this.txtMa_Sp.TabIndex = 1;
            this.txtMa_Sp.TableName = "DMSP";
            this.txtMa_Sp.TextDisplay = this.txtTen_Sp;
            this.txtMa_Sp.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtMa_Sp.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtMa_Sp.Value = ((object)(resources.GetObject("txtMa_Sp.Value")));
            // 
            // lblMa_Sp
            // 
            this.lblMa_Sp.AutoSize = true;
            this.lblMa_Sp.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblMa_Sp.Location = new System.Drawing.Point(12, 27);
            this.lblMa_Sp.Name = "lblMa_Sp";
            this.lblMa_Sp.Size = new System.Drawing.Size(55, 14);
            this.lblMa_Sp.TabIndex = 89;
            this.lblMa_Sp.Text = "Hạng mục";
            // 
            // txtTen_Sp_Me
            // 
            this.txtTen_Sp_Me.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtTen_Sp_Me.BackColor = System.Drawing.SystemColors.Control;
            this.txtTen_Sp_Me.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtTen_Sp_Me.CheckTextSearched = false;
            this.txtTen_Sp_Me.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtTen_Sp_Me.Enabled = false;
            this.txtTen_Sp_Me.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTen_Sp_Me.ForeColor = System.Drawing.Color.Blue;
            this.txtTen_Sp_Me.Location = new System.Drawing.Point(214, 7);
            this.txtTen_Sp_Me.Name = "txtTen_Sp_Me";
            this.txtTen_Sp_Me.OldValue = null;
            this.txtTen_Sp_Me.Size = new System.Drawing.Size(458, 13);
            this.txtTen_Sp_Me.TabIndex = 95;
            this.txtTen_Sp_Me.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtTen_Sp_Me.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtTen_Sp_Me.Value = ((object)(resources.GetObject("txtTen_Sp_Me.Value")));
            // 
            // txtMa_Sp_Me
            // 
            this.txtMa_Sp_Me.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMa_Sp_Me.CheckTextSearched = false;
            this.txtMa_Sp_Me.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtMa_Sp_Me.EmptyIsValid = true;
            this.txtMa_Sp_Me.FieldDisplay = "Ten_Sp";
            this.txtMa_Sp_Me.FirstFilter = "Loai_Sp = \'K\'";
            this.txtMa_Sp_Me.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtMa_Sp_Me.FoundIsValid = true;
            this.txtMa_Sp_Me.Location = new System.Drawing.Point(108, 3);
            this.txtMa_Sp_Me.MaxLength = 32;
            this.txtMa_Sp_Me.Name = "txtMa_Sp_Me";
            this.txtMa_Sp_Me.OldValue = null;
            this.txtMa_Sp_Me.Size = new System.Drawing.Size(100, 20);
            this.txtMa_Sp_Me.TabIndex = 0;
            this.txtMa_Sp_Me.TableName = "DMSP";
            this.txtMa_Sp_Me.TextDisplay = this.txtTen_Sp_Me;
            this.txtMa_Sp_Me.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtMa_Sp_Me.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtMa_Sp_Me.Value = ((object)(resources.GetObject("txtMa_Sp_Me.Value")));
            // 
            // lblMa_Sp_Me
            // 
            this.lblMa_Sp_Me.AutoSize = true;
            this.lblMa_Sp_Me.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblMa_Sp_Me.Location = new System.Drawing.Point(12, 6);
            this.lblMa_Sp_Me.Name = "lblMa_Sp_Me";
            this.lblMa_Sp_Me.Size = new System.Drawing.Size(56, 14);
            this.lblMa_Sp_Me.TabIndex = 94;
            this.lblMa_Sp_Me.Text = "Công trình";
            // 
            // txtNgay_Ct2
            // 
            this.txtNgay_Ct2.DateTimeFormat  = QMVnSoft.Controls.TextDate.DateTimeFormatType.Date;
            this.txtNgay_Ct2.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtNgay_Ct2.InsertKeyMode = System.Windows.Forms.InsertKeyMode.Overwrite;
            this.txtNgay_Ct2.Location = new System.Drawing.Point(316, 87);
            this.txtNgay_Ct2.Mask = "00/00/0000";
            this.txtNgay_Ct2.Name = "txtNgay_Ct2";
            this.txtNgay_Ct2.OldValue = null;
            this.txtNgay_Ct2.Size = new System.Drawing.Size(100, 20);
            this.txtNgay_Ct2.TabIndex = 8;
            this.txtNgay_Ct2.Value = ((object)(resources.GetObject("txtNgay_Ct2.Value")));
            // 
            // lblNgay_Ct2
            // 
            this.lblNgay_Ct2.AutoSize = true;
            this.lblNgay_Ct2.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblNgay_Ct2.Location = new System.Drawing.Point(256, 90);
            this.lblNgay_Ct2.Name = "lblNgay_Ct2";
            this.lblNgay_Ct2.Size = new System.Drawing.Size(54, 14);
            this.lblNgay_Ct2.TabIndex = 97;
            this.lblNgay_Ct2.Text = "Đến ngày";
            // 
            // txtNgay_Ct1
            // 
            this.txtNgay_Ct1.DateTimeFormat  = QMVnSoft.Controls.TextDate.DateTimeFormatType.Date;
            this.txtNgay_Ct1.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtNgay_Ct1.InsertKeyMode = System.Windows.Forms.InsertKeyMode.Overwrite;
            this.txtNgay_Ct1.Location = new System.Drawing.Point(108, 87);
            this.txtNgay_Ct1.Mask = "00/00/0000";
            this.txtNgay_Ct1.Name = "txtNgay_Ct1";
            this.txtNgay_Ct1.OldValue = null;
            this.txtNgay_Ct1.Size = new System.Drawing.Size(100, 20);
            this.txtNgay_Ct1.TabIndex = 7;
            this.txtNgay_Ct1.Value = ((object)(resources.GetObject("txtNgay_Ct1.Value")));
            // 
            // lblNgay_Ct1
            // 
            this.lblNgay_Ct1.AutoSize = true;
            this.lblNgay_Ct1.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblNgay_Ct1.Location = new System.Drawing.Point(12, 90);
            this.lblNgay_Ct1.Name = "lblNgay_Ct1";
            this.lblNgay_Ct1.Size = new System.Drawing.Size(47, 14);
            this.lblNgay_Ct1.TabIndex = 98;
            this.lblNgay_Ct1.Text = "Từ ngày";
            // 
            // txtTk_154
            // 
            this.txtTk_154.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtTk_154.CheckTextSearched = false;
            this.txtTk_154.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtTk_154.FieldDisplay = "Ten_Tk";
            this.txtTk_154.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTk_154.FoundIsValid = true;
            this.txtTk_154.Location = new System.Drawing.Point(548, 66);
            this.txtTk_154.MaxLength = 32;
            this.txtTk_154.Name = "txtTk_154";
            this.txtTk_154.OldValue = null;
            this.txtTk_154.Size = new System.Drawing.Size(100, 20);
            this.txtTk_154.TabIndex = 6;
            this.txtTk_154.TableName = "DMTK";
            this.txtTk_154.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtTk_154.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtTk_154.Value = ((object)(resources.GetObject("txtTk_154.Value")));
            // 
            // lblTk_154
            // 
            this.lblTk_154.AutoSize = true;
            this.lblTk_154.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblTk_154.Location = new System.Drawing.Point(426, 69);
            this.lblTk_154.Name = "lblTk_154";
            this.lblTk_154.Size = new System.Drawing.Size(116, 14);
            this.lblTk_154.TabIndex = 108;
            this.lblTk_154.Text = "Tk giá thành công trình";
            // 
            // txtTk_627
            // 
            this.txtTk_627.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtTk_627.CheckTextSearched = false;
            this.txtTk_627.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtTk_627.FieldDisplay = "Ten_Tk";
            this.txtTk_627.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTk_627.FoundIsValid = true;
            this.txtTk_627.Location = new System.Drawing.Point(316, 66);
            this.txtTk_627.MaxLength = 32;
            this.txtTk_627.Name = "txtTk_627";
            this.txtTk_627.OldValue = null;
            this.txtTk_627.Size = new System.Drawing.Size(100, 20);
            this.txtTk_627.TabIndex = 5;
            this.txtTk_627.TableName = "DMTK";
            this.txtTk_627.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtTk_627.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtTk_627.Value = ((object)(resources.GetObject("txtTk_627.Value")));
            // 
            // lblTk_627
            // 
            this.lblTk_627.AutoSize = true;
            this.lblTk_627.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblTk_627.Location = new System.Drawing.Point(225, 69);
            this.lblTk_627.Name = "lblTk_627";
            this.lblTk_627.Size = new System.Drawing.Size(85, 14);
            this.lblTk_627.TabIndex = 106;
            this.lblTk_627.Text = "Tk chi phí chung";
            // 
            // txtTk_623
            // 
            this.txtTk_623.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtTk_623.CheckTextSearched = false;
            this.txtTk_623.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtTk_623.FieldDisplay = "Ten_Tk";
            this.txtTk_623.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTk_623.FoundIsValid = true;
            this.txtTk_623.Location = new System.Drawing.Point(108, 66);
            this.txtTk_623.MaxLength = 32;
            this.txtTk_623.Name = "txtTk_623";
            this.txtTk_623.OldValue = null;
            this.txtTk_623.Size = new System.Drawing.Size(100, 20);
            this.txtTk_623.TabIndex = 4;
            this.txtTk_623.TableName = "DMTK";
            this.txtTk_623.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtTk_623.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtTk_623.Value = ((object)(resources.GetObject("txtTk_623.Value")));
            // 
            // lblTk_623
            // 
            this.lblTk_623.AutoSize = true;
            this.lblTk_623.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblTk_623.Location = new System.Drawing.Point(12, 69);
            this.lblTk_623.Name = "lblTk_623";
            this.lblTk_623.Size = new System.Drawing.Size(82, 14);
            this.lblTk_623.TabIndex = 107;
            this.lblTk_623.Text = "Tk máy thi công";
            // 
            // txtTk_622
            // 
            this.txtTk_622.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtTk_622.CheckTextSearched = false;
            this.txtTk_622.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtTk_622.FieldDisplay = "Ten_Tk";
            this.txtTk_622.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTk_622.FoundIsValid = true;
            this.txtTk_622.Location = new System.Drawing.Point(316, 45);
            this.txtTk_622.MaxLength = 32;
            this.txtTk_622.Name = "txtTk_622";
            this.txtTk_622.OldValue = null;
            this.txtTk_622.Size = new System.Drawing.Size(100, 20);
            this.txtTk_622.TabIndex = 3;
            this.txtTk_622.TableName = "DMTK";
            this.txtTk_622.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtTk_622.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtTk_622.Value = ((object)(resources.GetObject("txtTk_622.Value")));
            // 
            // lblTk_622
            // 
            this.lblTk_622.AutoSize = true;
            this.lblTk_622.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblTk_622.Location = new System.Drawing.Point(238, 48);
            this.lblTk_622.Name = "lblTk_622";
            this.lblTk_622.Size = new System.Drawing.Size(72, 14);
            this.lblTk_622.TabIndex = 104;
            this.lblTk_622.Text = "Tk nhân công";
            // 
            // txtTk_621
            // 
            this.txtTk_621.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtTk_621.CheckTextSearched = false;
            this.txtTk_621.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtTk_621.FieldDisplay = "Ten_Tk";
            this.txtTk_621.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTk_621.FoundIsValid = true;
            this.txtTk_621.Location = new System.Drawing.Point(108, 45);
            this.txtTk_621.MaxLength = 32;
            this.txtTk_621.Name = "txtTk_621";
            this.txtTk_621.OldValue = null;
            this.txtTk_621.Size = new System.Drawing.Size(100, 20);
            this.txtTk_621.TabIndex = 2;
            this.txtTk_621.TableName = "DMTK";
            this.txtTk_621.UserTextLength  = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtTk_621.UserTrimMode  = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtTk_621.Value = ((object)(resources.GetObject("txtTk_621.Value")));
            // 
            // lblTk_621
            // 
            this.lblTk_621.AutoSize = true;
            this.lblTk_621.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblTk_621.Location = new System.Drawing.Point(12, 48);
            this.lblTk_621.Name = "lblTk_621";
            this.lblTk_621.Size = new System.Drawing.Size(94, 14);
            this.lblTk_621.TabIndex = 105;
            this.lblTk_621.Text = "Tk nguyên vật liệu";
            // 
            // FormKCD04Viewer
            // 
            this.CheckDetailMost = true;
            this.ClientSize = new System.Drawing.Size(794, 534);
            this.Name = "FormKCD04Viewer";
            this.rptContainer.Panel1.ResumeLayout(false);
            this.rptContainer.Panel1.PerformLayout();
            this.rptContainer.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        protected override void OnGenerateColumns()
        {
            object[][] objArray = new object[11][];
            object[] objArray2 = new object[4];
            objArray2[0] = "Ma_Sp";
            objArray2[1] = "Công trình";
            objArray2[2] = "C";
            objArray[0] = objArray2;
            object[] objArray3 = new object[4];
            objArray3[0] = "Ten_Sp";
            objArray3[1] = "Tên công trình";
            objArray3[2] = "C";
            objArray[1] = objArray3;
            objArray[2] = new object[] { "Du_Dau", "Dư đầu", "N", AppInstance.TextNumericFormat.LocalAmount };
            objArray[3] = new object[] { "T_621", "Nguyên vật liệu", "N", AppInstance.TextNumericFormat.LocalAmount };
            objArray[4] = new object[] { "T_622", "Nh\x00e2n công", "N", AppInstance.TextNumericFormat.LocalAmount };
            objArray[5] = new object[] { "T_623", "M\x00e1y thi công", "N", AppInstance.TextNumericFormat.LocalAmount };
            objArray[6] = new object[] { "T_627", "Chi phí chung", "N", AppInstance.TextNumericFormat.LocalAmount };
            objArray[7] = new object[] { "T_Khac", "Chi phí kh\x00e1c", "N", AppInstance.TextNumericFormat.LocalAmount };
            objArray[8] = new object[] { "Ps_No", "Tổng phát sinh", "N", AppInstance.TextNumericFormat.LocalAmount };
            objArray[9] = new object[] { "Ps_Co", "Giá thành", "N", AppInstance.TextNumericFormat.LocalAmount };
            objArray[10] = new object[] { "Du_Cuoi", "Dư cuối", "N", AppInstance.TextNumericFormat.LocalPrice };
            base.LocalColNames = objArray;
            base.OnGenerateColumns();
        }

        protected override void OnMakeReport()
        {
            AppInstance.StartWorkingDate = (DateTime) this.txtNgay_Ct1.Value;
            AppInstance.EndWorkingDate = (DateTime) this.txtNgay_Ct2.Value;
            base.LocalTable = new ReportDataAccess().KCD04_Get(AppInstance.Subsidiaries, this.txtNgay_Ct1.Value, this.txtNgay_Ct2.Value, this.txtTk_154.Value, this.txtMa_Sp_Me.Value, this.txtMa_Sp.Value, this.txtTk_621.Value, this.txtTk_622.Value, this.txtTk_623.Value, this.txtTk_627.Value, AppInstance.DefLanguage);
            base.OnMakeReport();
        }

        protected override void OnSendParameters()
        {
            base.StimulReport["Ngay"] = "Từ ngày " + string.Format("{0:dd/MM/yyyy}", this.txtNgay_Ct1.Value) + " đến ngày " + string.Format("{0:dd/MM/yyyy}", this.txtNgay_Ct2.Value);
            if (!string.IsNullOrEmpty(this.txtMa_Sp_Me.Value.ToString()))
            {
                base.StimulReport["CongDoan"] = string.Concat(new object[] { "C\x00f4n trình: ", this.txtMa_Sp_Me.Value, " - ", this.txtTen_Sp_Me.Value });
            }
            if (!string.IsNullOrEmpty(this.txtMa_Sp.Value.ToString()))
            {
                base.StimulReport["SanPham"] = string.Concat(new object[] { "Hạng mục: ", this.txtMa_Sp.Value, " - ", this.txtTen_Sp.Value });
            }
        }
    }
}

